ValidatedIdentifier

constructor(defaultValue: Identifier)

An unbounded validated identifier

Validation will be limited to ensuring inputs are valid identifiers

Author

fzzyhmstrs

Since

0.2.0

Parameters

defaultValue

Identifier the default identifier for this validation


constructor(defaultValue: String)

An unbounded validated identifier constructed from a string

Validation will be limited to ensuring inputs are valid identifiers

Author

fzzyhmstrs

Since

0.2.0

Parameters

defaultValue

String the default identifier (in string form) for this validation


constructor(defaultNamespace: String, defaultPath: String)

An unbounded validated identifier constructed from namespace and path strings

Validation will be limited to ensuring inputs are valid identifiers

Author

fzzyhmstrs

Since

0.2.0

Parameters

defaultNamespace

String the default namespace for this validation

defaultPath

String the default path for this validation


constructor()

An unbounded validated identifier with a dummy default value

Validation will be limited to ensuring inputs are valid identifiers

Author

fzzyhmstrs

Since

0.2.0


constructor(defaultValue: Identifier, allowableIds: AllowableIdentifiers, validator: EntryValidator<Identifier> = allowableIds)

Parameters

defaultValue

String, the string value of the default identifier

allowableIds

AllowableIdentifiers instance. Defines the predicate for valid ids, and the supplier of valid id lists

validator

EntryValidator handles validation of individual entries. Defaults to validation based on the predicate provided in allowableIds